import request from '@/utils/request'

export const saveRuizyVariety = (data) => {
  return request({
    url: '/v1/ruizy/variety/',
    method: 'post',
    data
  })
}

// 获取用户的权限品种(自己)
export const getUserAuthVariety = (params) => {
  return request({
    url: '/v1/ruizy/userVariety/',
    method: 'get',
    params
  })
}
